package com.lky.reggie;

import javafx.application.Application;
import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.servlet.ServletComponentScan;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.transaction.annotation.EnableTransactionManagement;
import org.springframework.transaction.event.TransactionalEventListener;

/**
 * @author shkstart
 * @Description
 * @date 2023-01-02-12:18
 */
@EnableTransactionManagement //开启事务注解
@Slf4j
@SpringBootApplication
@EnableCaching  //开启spring cache缓存注解
//扫描过滤器组件
@ServletComponentScan
public class ReggieApplication {
    public static void main(String[] args) {
        try {
            SpringApplication.run(ReggieApplication.class,args);
            log.info("项目启动成功");
        } finally {

        }
    }
}
